// Author: wsfuyibing <682805@qq.com>
// Date: 2025-05-14

package kind

// ArcadeVerified
// 钓场认证状态.
type ArcadeVerified int

const (
	ArcadeVerifiedUnverified ArcadeVerified = iota
	ArcadeVerifiedVerified
)

var (
	arcadeVerifiedTexts = map[ArcadeVerified]string{
		ArcadeVerifiedUnverified: "未认证",
		ArcadeVerifiedVerified:   "已认证",
	}
	arcadeVerifiedUnknownText = "未知"
	arcadeVerifiedFlags       = map[ArcadeVerified]string{
		ArcadeVerifiedUnverified: "unverified",
		ArcadeVerifiedVerified:   "verified",
	}
	arcadeVerifiedUnknownFlag = "unknown"
)

func (o ArcadeVerified) Flag() string {
	if str, ok := arcadeVerifiedFlags[o]; ok {
		return str
	}
	return arcadeVerifiedUnknownFlag
}

func (o ArcadeVerified) IsUnverified() bool {
	return o == ArcadeVerifiedUnverified
}

func (o ArcadeVerified) IsVerified() bool {
	return o == ArcadeVerifiedVerified
}

func (o ArcadeVerified) Text() string {
	if str, ok := arcadeVerifiedTexts[o]; ok {
		return str
	}
	return arcadeVerifiedUnknownText
}
